import request from '@/utils/request'

// 查询评估或监测列表
export function listUserSuggestions(query) {
  return request({
    url: '/assessment/UserSuggestions/list',
    method: 'get',
    params: query
  })
}

// 查询评估或监测详细
export function getUserSuggestions(id) {
  return request({
    url: '/assessment/UserSuggestions/' + id,
    method: 'get'
  })
}

// 新增评估或监测
export function addUserSuggestions(data) {
  return request({
    url: '/assessment/UserSuggestions',
    method: 'post',
    data: data
  })
}

// 修改评估或监测
export function updateUserSuggestions(data) {
  return request({
    url: '/assessment/UserSuggestions',
    method: 'put',
    data: data
  })
}

// 删除评估或监测
export function delUserSuggestions(id) {
  return request({
    url: '/assessment/UserSuggestions/' + id,
    method: 'delete'
  })
}
